package com.xgll.modules.admin.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xgll.modules.admin.dao.PromoterLevelDao;
import com.xgll.modules.admin.entity.PromoterLevelEntity;
import com.xgll.modules.admin.service.PromoterLevelService;



@Service("promoterLevelService")
public class PromoterLevelServiceImpl implements PromoterLevelService {
	@Autowired
	private PromoterLevelDao promoterLevelDao;
	
	@Override
	public PromoterLevelEntity queryObject(Integer id){
		return promoterLevelDao.queryObject(id);
	}
	
	@Override
	public List<PromoterLevelEntity> queryList(Map<String, Object> map){
		return promoterLevelDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return promoterLevelDao.queryTotal(map);
	}
	
	@Override
	public void save(PromoterLevelEntity promoterLevel){
		promoterLevelDao.save(promoterLevel);
	}
	
	@Override
	public void update(PromoterLevelEntity promoterLevel){
		promoterLevelDao.update(promoterLevel);
	}
	
	@Override
	public void delete(Integer id){
		promoterLevelDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		promoterLevelDao.deleteBatch(ids);
	}
	
}
